package gpl.androidcommons.scotlandyard;

import gpl.scotlandyard.beans.basics.Player;

import java.util.LinkedList;
import java.util.List;

public class DummyFactory {

  public static List<Player> players(int nbDetectives) {
    List<Player> players = new LinkedList<Player>();
    Player fugitive = new Player("Fugitive", 4, 3, 2, nbDetectives, 2);
    fugitive.setFugitive(true);
    players.add(fugitive);
    for (int i = 1; i <= nbDetectives; i++) {
      players.add(new Player("Sherlock'" + i, 10, 8, 4, 0, 0));
    }
    return players;
  }
}
